Analysis and design algorithms: introduction to algorithms for absolute beginner by Elias Paul

Analysis and design algorithms: introduction to algorithms for absolute beginner by Elias Paul

Author:Elias Paul [Paul, Elias]
Language: eng
Format: azw3, epub
Published: 2020-06-17T16:00:00+00:00


INTRODUCTION

Software engineering is the discipline that is responsible for creating and software development; the main task of computing is to provide tools and procedures on which this discipline is based in the construction and project development.

The application of methods and techniques to solve problems, in search for solutions, is the origin of modular programming that allows decomposing a problem into a set of subproblems

independent of each other, easier to solve and can be treated separately from each other.

Thanks to the modularity you can test the subroutines or modules of independently, debugging errors before they are included in the main program and being stored for later use as many times is required.

Page 170

167

4.1. C ONCEPT

objective

The participant will be able to define the concept of modularity and will identify their applications in algorithms.

Behrouz, in his book entitled "Introduction to computer science" states that modularity means dividing a large project into more parts small that can be understood and handled more easily, that is, the division of a large program into smaller parts that can communicate with each other.

3. 4

In the same context, Weitzenfeld in his work entitled " Software Engineering object oriented with UML, Java and Internet ” mentions that modularity Allows you to divide a system into separate components. By having higher level abstractions, the modularity of a system is achieved with highest-level component-based. This reduces the final number of components in a system and, in turn, facilitates its operation and maintenance.

35

Badenas Carpio confirms that modularity enables the decomposition of a complex problem in simpler modules (top-down analysis). Further, provides the possibility to compose several modules already written for others purposes allows to build new software, similar to how they are used library functions in a procedural language.

36

34 A. FOROUZAN, Behrouz. Introduction to computer science, from data manipulation to the theory of computing. International Thomson Editores. Mexico, p. 200.

35 WEITZENFELD, Alfredo. Object-oriented software engineering with UML, Java and the Internet. Thomson, Mexico 2005. p.25

36 BADENAS CARPIO, Jorge, LLOPIO BORRÁS, José, COLTELL SIMÓN, Oscar. Practical programming course in C and C ++. Publications of the Jaume I. DL. University, 1995, pages. 155-156.

Page 171

168

Being composed of several modules, the compression of the system is facilitated, since

It is enough to understand each of the modules separately. A systems thus conceived, it is better armed against small modifications in the specifications, since these will not normally affect more than one reduced number of modules. Similarly, the effect of an error is limited also a few modules. Hiding the information allows the modification in the implementation of a module that does not affect the interface, not will cause no change to the rest of the program.

37

Structured programming allows the writing of programs that are easy to read and modify. With this type of programming, the logical flow is governs by the three basic types of structures that are: sequential, of selection and those of repetition. One of the best known methods for solving a problem is dividing it into smaller problems that can be call subproblems.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.